package org.apache.dolphinscheduler.dao.entity;

import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("t_ds_type")
public class Type {

	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;
	
	private String name;
	private Integer pid;
	private Integer type;
	private Integer sort;
	
	@TableField(exist = false)
	private String pname;
	
	@TableField(exist = false)
	private List<Type> childList;
}
